from django.contrib import admin
from django.urls import path, include
from django.urls import  register_converter
from utils.converters import UsernameConverter
register_converter(UsernameConverter,'username')
urlpatterns = [
    path('admin/', admin.site.urls),
    path('', include('apps.users.urls')),
    path('', include('apps.oauth.urls')),
    path('', include('apps.areas.urls')),
    path('', include('apps.contents.urls')),
    path('', include('apps.goods.urls')),
    path('', include('apps.orders.urls')),
    path('', include('apps.cart.urls')),
    path('', include('apps.pay.urls')),
    # 后台管理的url ，，，都是以admin开头的
    path('meiduo_admin/', include('apps.meiduo_admin.urls')),


]
